package cn.hr.pojo;

import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 招聘信息
 * @author MO
 *
 */
public class Recruit implements Serializable {

	private static final long serialVersionUID = -1327653610658786075L;
	private Integer id;//招聘id
	private Integer oId;//部门
	private Integer postId;//职位
	private String postDescribe;//职位描述
	private String code;//编码
	private Integer type;//招聘类ON型,数据字典
	private Integer countP;//招聘人数
	private Date  deadline;//截至日期
	private String require;//招聘要求
	private Integer createdById;//创建者
	private Date createdDate;//创建时间
	private Integer modifyById;//修改者
	private Date modifyDate;//修改时间


	public Integer getId() {
		return id;
	}

	public void setId(Integer id) {
		this.id = id;
	}

	public Integer getoId() {
		return oId;
	}

	public void setoId(Integer oId) {
		this.oId = oId;
	}

	public Integer getPostId() {
		return postId;
	}

	public void setPostId(Integer postId) {
		this.postId = postId;
	}

	public String getPostDescribe() {
		return postDescribe;
	}

	public void setPostDescribe(String postDescribe) {
		this.postDescribe = postDescribe;
	}

	public String getCode() {
		return code;
	}

	public void setCode(String code) {
		this.code = code;
	}

	public Integer getType() {
		return type;
	}

	public void setType(Integer type) {
		this.type = type;
	}

	public Integer getCountP() {
		return countP;
	}

	public void setCountP(Integer countP) {
		this.countP = countP;
	}

	public Date getDeadline() {
		return deadline;
	}

	public void setDeadline(Date deadline) {
		this.deadline = deadline;
	}

	public String getRequire() {
		return require;
	}

	public void setRequire(String require) {
		this.require = require;
	}

	public Integer getCreatedById() {
		return createdById;
	}

	public void setCreatedById(Integer createdById) {
		this.createdById = createdById;
	}

	public Date getCreatedDate() {
		return createdDate;
	}

	public void setCreatedDate(Date createdDate) {
		this.createdDate = createdDate;
	}

	public Integer getModifyById() {
		return modifyById;
	}

	public void setModifyById(Integer modifyById) {
		this.modifyById = modifyById;
	}

	public Date getModifyDate() {
		return modifyDate;
	}

	public void setModifyDate(Date modifyDate) {
		this.modifyDate = modifyDate;
	}

	@Override
	public String toString() {
		return "Recruit{" +
				"id=" + id +
				", oId=" + oId +
				", postId=" + postId +
				", postDescribe='" + postDescribe + '\'' +
				", code='" + code + '\'' +
				", type=" + type +
				", countP=" + countP +
				", deadline=" + deadline +
				", require='" + require + '\'' +
				", createdById=" + createdById +
				", createdDate=" + createdDate +
				", modifyById=" + modifyById +
				", modifyDate=" + modifyDate +
				'}';
	}
}
